import { S } from '../s';
import { IPSNavigateParam } from './ipsnavigate-param';
import { PSModelObjectImpl } from '../psmodel-object-impl';

export class PSNavigateParamImpl
  extends PSModelObjectImpl
  implements IPSNavigateParam
{
  get desc(): string {
    return this.M.desc;
  }

  get key(): string {
    return this.M.key;
  }

  get value(): string {
    return this.M.value;
  }

  get rawValue(): boolean {
    return this.M.rawValue;
  }
  get cls(): string {
    return 'PSNavigateParamImpl';
  }
  instanceof(cls: string): boolean {
    if (cls == S._8a) return true;
    return super.instanceof(cls);
  }
}
